package cn.edu.seig.springks.pojo;

import lombok.Data;

@Data
public class cart {
    int c_id;
    int u_id;
    int p_id;
    product product;
    int quantity;

    public cart(int u_id, int p_id, int quantity) {
        this.u_id = u_id;
        this.p_id = p_id;
        this.quantity = quantity;
    }

    public cart() {

    }

    public cart(int c_id, int u_id) {
        this.c_id = c_id;
        this.u_id = u_id;
    }
}
